package com.zjun.demo.experimentaldemo.scale_seekBar

import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Rect
import android.os.Build
import android.util.AttributeSet
import android.view.ViewGroup
import androidx.appcompat.widget.AppCompatSeekBar
import androidx.appcompat.widget.LinearLayoutCompat


/**
 * 显示订单的卡片
 */
class OrderCardView : ViewGroup {

    private lateinit var mRulerPaint: Paint

    constructor(context: Context) : super(context) {
        initialization()
    }

    constructor(context: Context, attrs: AttributeSet?) : super(context, attrs) {
        initialization(attrs)
    }

    constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : super(context, attrs, defStyleAttr) {
        initialization(attrs)
    }

    @SuppressLint("ObsoleteSdkInt")
    private fun initialization(attrs: AttributeSet? = null) {
        mRulerPaint = Paint()
    }
    override fun onDraw(canvas: Canvas) {
        super.onDraw(canvas)
    }

    override fun onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int) {

    }

}